package com.gem.growingtree.activity;

import com.lidroid.xutils.ViewUtils;
import com.lidroid.xutils.view.annotation.ViewInject;
import com.lidroid.xutils.view.annotation.event.OnClick;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.view.Window;
import android.widget.ImageButton;

public class PlayDetailActivity extends Activity {
	@ViewInject(R.id.PD_imageView_id)
	private ImageButton iamgeButton;
	@OnClick(R.id.PD_imageView_id)
	public void onClickBack(View v){
		Intent intent=new Intent();
		intent.setClass(PlayDetailActivity.this, PlayListActivity.class);
		startActivity(intent);
	}
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		setContentView(R.layout.activity_play_detail);
		ViewUtils.inject(this);
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.play_detail, menu);
		return true;
	}

}
